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
base: master
Are you sure you want to change the base?
Conversation
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.
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: |
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.
Are we even using this function?
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.
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.
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 |
It turns out ptt is also pretty slow, but thats only like two lines, so I think we can keep that. |
No description provided.