Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aurianer
Copy link
Collaborator

  • 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)

@aurianer aurianer force-pushed the small_changes_in_plotting_scripts branch from 57bff0b to 75ff036 Compare October 18, 2024 14:21
scripts/postprocess.py Outdated Show resolved Hide resolved
scripts/postprocess.py Outdated Show resolved Hide resolved
scripts/postprocess.py Show resolved Hide resolved
@aurianer aurianer force-pushed the small_changes_in_plotting_scripts branch from 75ff036 to d56b4bc Compare October 31, 2024 17:44
@aurianer
Copy link
Collaborator Author

I rebased, the change with the label is in the last commit

Copy link
Collaborator

@msimberg msimberg left a 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(":")
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants