Skip to content

Commit

Permalink
Merge pull request #185 from bacetiner/master
Browse files Browse the repository at this point in the history
Fixed incorrect footprint formatting issue in NSIParser output files
  • Loading branch information
bacetiner authored Feb 16, 2024
2 parents 5ec5e77 + 6a7ebb7 commit 1b7d976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brails/workflow/NSIParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def get_inv_from_datadict(datadict,footprints):
# If requested, write the created inventory in R2D-compatible CSV format:
if outFile:
inventory = self.inventory.copy(deep=True)
n = inventory.columns[1]
n = inventory.columns[-1]
inventory.drop(n, axis = 1, inplace = True)
inventory[n] = footprints_out_json
inventory.to_csv(outFile, index=True, index_label='id')
Expand Down

0 comments on commit 1b7d976

Please sign in to comment.