Skip to content

Comments

Adding wmql^T (roi_querier script) - No functionallity yet#48

Open
gagdiez wants to merge 1 commit intodemianw:masterfrom
gagdiez:roi_querier
Open

Adding wmql^T (roi_querier script) - No functionallity yet#48
gagdiez wants to merge 1 commit intodemianw:masterfrom
gagdiez:roi_querier

Conversation

@gagdiez
Copy link

@gagdiez gagdiez commented Oct 9, 2020

This commit prepares the repository to welcome the new script "roi_querier". Some small errors were also fixed. The main changes are:

  1. The code that parses/transforms a query into a tree has been removed from scripts/tract_querier and made into a function:
    search_file_and_create_query_body. It is located in the file tract_querier/init.py. This allows us to share the query-parsing
    in both "roi_querier" and "tract_querier".

  2. The function to parse the queries now returns a "file not found" error when the file.qry does not exists. This is much more
    informative than the current "error in query file"

  3. The test were giving some encoding-related errors with the files freesurfer_queries_bsf2016*. This have been fixed.

This commit prepares the repository to welcome the new script
"roi_querier". Some small errors were also fixed. The main changes are:

1. The code that parses/transforms a query into a tree has been
   removed from scripts/tract_querier and made into a function:
   search_file_and_create_query_body. It is located in the file
   tract_querier/__init__.py. This allows us to share the query-parsing
   in both "roi_querier" and "tract_querier".

2. The function to parse the queries now returns a "file not found"
   error when the file.qry does not exists. This is much more
   informative than the current "error in query file"

3. The test were givin some encoding-related errors with the files
   freesurfer_queries_bsf2016*. This have been fixed.
@gagdiez gagdiez changed the title Added roi_querier script - No functionallity yet Adding wmql^T (roi_querier script) - No functionallity yet Oct 9, 2020
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.

1 participant