-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small changes in the plotting scripts #1203
base: master
Are you sure you want to change the base?
Small changes in the plotting scripts #1203
Conversation
aurianer
commented
Oct 18, 2024
- Adds complex and double in the caption
- Limit the caption to use the base directory name and not the absolute path (otherwise the caption of the plot was unreadable)
57bff0b
to
75ff036
Compare
75ff036
to
d56b4bc
Compare
I rebased, the change with the label is in the last commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now, thanks! Just a suggestion for some error checking.
@@ -352,14 +352,29 @@ def parse_jobs(data_dirs, distinguish_dir=False): | |||
if not isinstance(data_dirs, list): | |||
data_dirs = [data_dirs] | |||
data = [] | |||
for data_dir in data_dirs: | |||
for data_dir_label in data_dirs: | |||
dir_label = data_dir_label.split(":") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what the most appropriate error checking/reporting thing is for python, but could we at least say assert(1 <= len(dir_label) <= 2)
or whatever the python way of doing that is?