Skip to content

Unmodellable trees throw an error #18

Description

@dluks

When make_models or make_models_parallel encounters a tree that it cannot successfully model, it returns an empty value. This results in QSM == [ ], the assignment of a = max(size(QSM)) thus returns 0, and this error is thrown, halting the entire process when multiple trees are being modelled.

Modelling tree 1/5513 (ti_10_10_T0):
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 8).
Incomplete run!!
Incomplete run!!
Incomplete run!!
Incomplete run!!
Incomplete run!!
Assignment between unlike types is not allowed.

Error in make_models_parallel (line 218)
	QSMs(m:m+a-1) = QSM;

Error in run_qsm (line 33)
QSMs = make_models_parallel('paracou', 'QSMs_1', 5,
inputs);

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions