openMetadataInitiative / bids2openminds

A tool to generate openMINDS metadata from BIDS datasets
MIT License
1 stars 3 forks source link

Convert into a Python package #5

Closed apdavison closed 7 months ago

apdavison commented 7 months ago

so that people will be able to install it with pip, once we release the first version.

For development, you can install with pip install -e ., then to run the converter:

$ python -m bids2openminds.converter
Peyman-N commented 7 months ago

There is also another import in mapping.py I think that one should be modified as well from utility import openminds_instance line 145 from .utility import openminds_instance

apdavison commented 7 months ago

Good spot. I've fixed that, and moved all imports to the top of each file.