Skip to content

Commit

Permalink
Data
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jan 31, 2015
1 parent 6adeaf5 commit e416f90
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
6 changes: 5 additions & 1 deletion commands/update_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,12 @@ def saveTemporaryFile(tmpPath):


def saveCopyOfChanges(cmdenv, dbFilename, stationID):
if "APPEND_PRICES" in os.environ:
mode = "a"
else:
mode = "w"
dumpPath = pathlib.Path("updated.prices")
with dumpPath.open("w") as dumpFile:
with dumpPath.open(mode) as dumpFile:
# Remember the filename so we know we need to delete it.
prices.dumpPrices(dbFilename,
prices.Element.full | prices.Element.blanks,
Expand Down
1 change: 1 addition & 0 deletions corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"LP 51-17/ARCHAMBAULT HORIZONS": DELETED,
"LP 811-17/STJEPAN SELJAN PORT": DELETED,
"LP 862-184/MAYR HANGAR": "Mayr Hanger",
"LTT 1349/NORIFRA PORT": DELETED,
"LTT 14437/BRIOGER BASE": DELETED,
"LTT 15449/REILLI DOCK": "Reilly Dock",
"LTT 16218/CHARGAFFPORT": "Chargaff Port",
Expand Down
12 changes: 12 additions & 0 deletions data/ShipVendor.csv
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,18 @@ unq:[email protected]_id,unq:[email protected]_id,unq:[email protected]_id
'LP 255-11','Burbank Port','Type 6'
'LP 255-11','Burbank Port','Type 9'
'LP 255-11','Burbank Port','Viper'
'LTT 1349','Lundwall City','Adder'
'LTT 1349','Lundwall City','Asp'
'LTT 1349','Lundwall City','Cobra'
'LTT 1349','Lundwall City','Dropship'
'LTT 1349','Lundwall City','Eagle'
'LTT 1349','Lundwall City','Hauler'
'LTT 1349','Lundwall City','Python'
'LTT 1349','Lundwall City','Sidewinder'
'LTT 1349','Lundwall City','Type 6'
'LTT 1349','Lundwall City','Type 7'
'LTT 1349','Lundwall City','Type 9'
'LTT 1349','Lundwall City','Viper'
'LTT 15449','Binet Port','Adder'
'LTT 15449','Binet Port','Anaconda'
'LTT 15449','Binet Port','Asp'
Expand Down
10 changes: 6 additions & 4 deletions data/Station.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3876,6 +3876,7 @@ unq:[email protected]_id,unq:name,ls_from_star,blackmarket,max_pad_size
'LHS 369','Cavendish Port',0,'?','?'
'LHS 3705','Ricci Installation',0,'?','?'
'LHS 371','Fischer Works',0,'?','?'
'LHS 3713','Binnie Enterprise',0,'?','?'
'LHS 374','Harness Landing',0,'?','?'
'LHS 3749','Roddenberry Orbital',474,'?','L'
'LHS 3776','Aguirre Terminal',202,'?','L'
Expand Down Expand Up @@ -4209,8 +4210,7 @@ unq:[email protected]_id,unq:name,ls_from_star,blackmarket,max_pad_size
'LTT 1349','Aitken Vision',364,'N','M'
'LTT 1349','Gelfand Survey',2121,'N','M'
'LTT 1349','Iiindwaii City',0,'?','?'
'LTT 1349','Lundwall City',111,'N','L'
'LTT 1349','Norifra Port',0,'?','?'
'LTT 1349','Lundwall City',148,'N','L'
'LTT 135','Princess Palace',0,'?','?'
'LTT 1353','Hillary Enterprise',25,'?','?'
'LTT 1353','Williamson Terminal',15,'?','?'
Expand Down Expand Up @@ -6033,7 +6033,8 @@ unq:[email protected]_id,unq:name,ls_from_star,blackmarket,max_pad_size
'TANGAROA','Sovica',296,'N','L'
'TANGKAN','Alcala Retreat',15308,'N','M'
'TANMARK','Cassie-L-Peia',414,'N','L'
'TANMARK','Fernao Do Po Dock',0,'?','?'
'TANMARK','Fernao Do Po Dock',1431,'N','M'
'TANMARK','Yul Brynner Memorial Station',4112,'?','L'
'TAO TZAKA','Fossum Plant',0,'?','?'
'TAOSHA','Agnesi Terminal',1425,'Y','M'
'TAOSHA','Braun Hub',2701,'Y','L'
Expand Down Expand Up @@ -6298,7 +6299,7 @@ unq:[email protected]_id,unq:name,ls_from_star,blackmarket,max_pad_size
'TSETYERRE','Farrer Orbital',87,'?','L'
'TSIM BINBA','Chernykh Port',20,'?','M'
'TSIM BINBA','Kopal Orbital',10,'?','L'
'TSIM BINBA','Krenkel Vision',30,'?','M'
'TSIM BINBA','Krenkel Vision',30,'Y','M'
'TSIMASKARA','Barjavel Port',0,'?','?'
'TSOHODA','De Lay Port',22,'N','L'
'TSOHODA','Dominique Hub',22,'N','M'
Expand Down Expand Up @@ -6360,6 +6361,7 @@ unq:[email protected]_id,unq:name,ls_from_star,blackmarket,max_pad_size
'UMAITIS','Stott Station',2061,'N','L'
'UMASPI','Gardner Orbital',1464,'Y','L'
'UMED','Nespoli Hub',0,'?','?'
'UMVELIS','Svavarsson Arena',0,'?','?'
'UNA','Durrance Station',0,'?','?'
'UNA','Godwin Port',525,'Y','M'
'UNA','Hoard Orbital',0,'?','?'
Expand Down

0 comments on commit e416f90

Please sign in to comment.