Skip to content

Conversation

@MichaelStritt
Copy link
Contributor

Linked issue

#929

@MichaelStritt MichaelStritt added the import Related to data import module label Nov 20, 2021
@MichaelStritt MichaelStritt linked an issue Nov 20, 2021 that may be closed by this pull request
Copy link
Member

@HenkMutsaerts HenkMutsaerts left a comment

Choose a reason for hiding this comment

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

Sorry I approved too fast :)
I would add some more feedback to the user. "No matching files" could mean anything to the user, so perhaps 1 or 2 lines explaining to the user what could be wrong (like you say in your comment, which the user that doesn't dig into the code, won't see).

Thinking about it, it would be nice if Matlab had some sort of comment/fprintf linking in case of errors :)

@MichaelStritt
Copy link
Contributor Author

@HenkMutsaerts: Please check if you're happy with the new version. It includes a link to the documentation, because otherwise we would have to explain how the sourceStructure.json works there and that would be overkill.

image

@MichaelStritt MichaelStritt changed the title #929 xASL_imp_ReadSourceData: warning -> error Closes #929 Improved warning Nov 26, 2021
@MichaelStritt MichaelStritt merged commit c524a5a into develop Nov 26, 2021
@MichaelStritt MichaelStritt deleted the bug-#929_Import branch November 26, 2021 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

import Related to data import module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import continues with incorrect input

3 participants