Add CLI for transforming files (and minor nsd_mapdata.py tweak)#14
Add CLI for transforming files (and minor nsd_mapdata.py tweak)#14kjamison wants to merge 2 commits intocvnlab:masterfrom
Conversation
…nd accept transform file)
|
Hey that's a great idea! entry_points={
'console_scripts': [
'nsdmapdata = nsdmapcli:main',
],
},Otherwise the code looks good and should be useful indeed. Maybe worth adding an example of how to use it straight from the console? e.g. if we make the change to the setup script, then it would be : nsdmapdata -hto get some help on how to use? |
|
Updated accordingly (See the updated commit) Wasn't sure where to include the example usage, but it would be something like: |
|
Oh I see you just meant the help info. Currently that looks like: |
iancharest
left a comment
There was a problem hiding this comment.
This look good. I will push new version to pip soon.
Tweak mapdata to bypass nsdpath and accept transform file