Skip to content

#666 Warning on multiple DataPar.jsons#673

Merged
jan-petr merged 1 commit intodevelopfrom
optimization_#666-multipleDataParWarning
Jun 21, 2021
Merged

#666 Warning on multiple DataPar.jsons#673
jan-petr merged 1 commit intodevelopfrom
optimization_#666-multipleDataParWarning

Conversation

@jan-petr
Copy link
Contributor

Linked issue

#666

How to test

Add multiple dataPars or studyPars or sourcestructures and see that a warning is printed with clarifying what file is actually used.

@jan-petr jan-petr self-assigned this Jun 19, 2021
Copy link
Contributor

@MichaelStritt MichaelStritt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works 👍

image

A bit weird how Matlab sorts the files, but the warning tells the user which one is used, so I think that's okay 👍

image

@jan-petr jan-petr removed the request for review from HenkMutsaerts June 21, 2021 07:46
@jan-petr jan-petr force-pushed the optimization_#666-multipleDataParWarning branch from 1de2c42 to 379b479 Compare June 21, 2021 07:48
@jan-petr jan-petr merged commit 379b479 into develop Jun 21, 2021
@jan-petr jan-petr deleted the optimization_#666-multipleDataParWarning branch June 21, 2021 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initialization should issue a warning if there are multiple dataPar*.json

2 participants