Skip to content

Conversation

@njmmatthieu
Copy link
Collaborator

First actionable version:

  • clinical, short_mutations_external, short_mutations_local, copy_number_external, copy_number_local
  • MacOs version of the make.sh file
  • validators apart from adapters
  • pretty pre-commit and pre-push hooks with the pre-commit package

@njmmatthieu njmmatthieu requested review from jdreo and mbaric758 January 9, 2026 14:36
Copy link
Contributor

@jdreo jdreo left a comment

Choose a reason for hiding this comment

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

Awesome. Only a couple of comments on style.

name: Check for patient ids starting with an "D".
always_run: true
args: [--multiline]
entry: 'D[0-9]{3}'
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not a single [HMD][0-9]{3} ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed

row:
map:
columns:
- patient_id
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be clearer with column: patient_id

- tumorType
to_property:
- tumor_type
for_objects:
Copy link
Contributor

Choose a reason for hiding this comment

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

Same for for_object and to_property, when there is a single entry, it is not mandatory to use a list, you can just do to_property: tumorType.

weave.py Outdated
parser.add_argument("-i", "--clinical", metavar="CSV", nargs="+",
help="Extract from a clinical CSV file.")

parser.add_argument("-sml", "--short_mutations_local", metavar="CSV",nargs="+",
Copy link
Contributor

Choose a reason for hiding this comment

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

Convention is rather to use single-letter for short flags, and dash for long ones (instead of underscores).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed the underscores for the long flags. Concerning the short ones as single letter, since they won't be related to the long ones, I suggest not to remove them otherwise it will be confusing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep the acronyms for the short flags.

@njmmatthieu njmmatthieu linked an issue Jan 12, 2026 that may be closed by this pull request
@njmmatthieu njmmatthieu requested a review from jdreo January 14, 2026 16:51
@njmmatthieu
Copy link
Collaborator Author

@jdreo
Corrections after review and added:

  • new version of ontoweaver (1.2.0)
  • remove tailed ontologies
    and changed some hierarchical types linked to the ontology.

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.

The hook leaking-data doesn't seem to work.

2 participants