Harshad

Results 138 comments of Harshad

I think I have a solution but need a second opinion: This is with `src` being at the top level. - The only file structure change will be moving the...

I have implemented code linting by `black` and `isort` in PR #902 . It is a 1 commit PR which only formats the code. I will implement `flake8` and `mypy`...

I was just about to create a new ticket for this asking for black formatting for autogenerated files. This is def a nice-to-have rather than a must-have but all projects...

> How will this work with autogen'd code, e.g. linkml-model in linkml-runtime? If `black`and `flake8` are implemented within `tox` and is in the gh-action workflow, it'll flag the code while...

I think in an effort to start simple, ~just limiting it to `gen-python` makes sense.~ EDIT: I take that back, `make` target may be better and when one runs `make...

Related issues: https://github.com/mapping-commons/sssom-py/issues/247

Example: [tsv file](https://github.com/tdwg/gbwg/blob/main/dwc-mixs/mapping/DwC-MIxS_mappingSemantic.tsv) to `validate`. Error: ```--- Logging error --- Traceback (most recent call last): File "/Users/HHegde/Desktop/gitRepo/mapping-commons/sssom-py/sssom/io.py", line 90, in validate_file from_tsv(file_path=input_path) File "/Users/HHegde/Desktop/gitRepo/mapping-commons/sssom-py/sssom/parsers.py", line 34, in from_tsv meta =...

UPDATE: I changed the code to use CLI utilities in KGX and this did the trick! ``` from kgx.cli.cli_utils import transform transform(inputs=[data_file], input_format='obojson', output= os.path.join(self.output_dir, name), output_format='tsv') ``` Was my...

If it has been fixed, I am not aware of it.

Some notes to get this to work: Once https://github.com/INCATools/ontology-access-kit/pull/264 is approved, - `make oaklib` should install the latest version of OAK. - Make sure you have `node --version` >= 16....