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

[ENH, WIP] More tracking options #1128

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

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Apr 16, 2024

No description provided.

Copy link
Collaborator

@arokem arokem left a comment

Choose a reason for hiding this comment

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

What's the purpose of adding the bootstrap method here, if it's so slow as to be questionably useful?

@@ -72,8 +72,8 @@ def _arglist_to_string(args, get_attr=None):
def name_from_path(path):
file_name = op.basename(path) # get file name
file_name = drop_extension(file_name) # remove extension
if "-" in file_name:
file_name = file_name.split("-")[-1] # get suffix if exists
if "_" in file_name:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we even using this function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ParticipantAFQ uses this function to generate names for scalars that the user inputs (such as a t1 image from another pipeline). I should make it so the user can also define a name, and we call this function only if a name is not provided.

@36000
Copy link
Collaborator Author

36000 commented Apr 17, 2024

We are going to try it for the baby data Howard is working with. We can remove it if it turns out not to be useful

@36000
Copy link
Collaborator Author

36000 commented Apr 17, 2024

It turns out ptt is also pretty slow, but thats only like two lines, so I think we can keep that.

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.

None yet

2 participants