EDMarketConnector
EDMarketConnector copied to clipboard
Fix & Document all the data helper scripts
- [x]
coriolis.py
is erroring out - [ ]
collate.py
runs on CAPI data dumps to spot new modules/ships/commodites ? - [ ]
commodity.csv
fromcollate.py
Used in:companion.py
,collate.py
(yes, as well as writing it). - [ ]
outfitting .csv
fromcollate.py
, used incoriolis.py
- [ ]
rare_commodity.csv
from ??? Used in:companion.py
- [ ]
shipyard.csv
fromcollate.py
& used in it first - [x]
systems.csv
from eddb.io/api. Used ineddb.py
forsystems.p
which we no longer need. - [ ]
modules.p
fromcoriolis.py
- [ ]
ships.p
fromcoriolis.py
The coriolis.py
error turned out to be some weirdness with the coriolis-data
npm install
having generated coriolis-data/dist/index.json
without the "symbol" keys. Removing the index.json and re-running npm install
manually fixed it. So, if you see the line:
assert 'symbol' in m, m
in coriolis.py causing an exception:
-
cd coriolis-data
-
rm dist/index.{js,json}
-
npm install
- Check the resultant
dist/index.json
has "symbol" keys in, e.g. Modules -> standard > pp<first module>
Work started in https://github.com/EDCD/EDMarketConnector/tree/issue/549-helper-scripts