Skip to content

Commit

Permalink
Merge pull request #38 from jervinkhoo/master
Browse files Browse the repository at this point in the history
fixing Indexing.py: line 81 should be Wir instead of Pir, Pir condition already exist in line 78
  • Loading branch information
cmars authored Jun 21, 2022
2 parents 1872744 + 6976321 commit 120e548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pystdf/Indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def before_send(self, dataSource, data):
headSite = (fields[V4.Pir.HEAD_NUM], fields[V4.Pir.SITE_NUM])
self.onPir(headSite)
elif isinstance(recType, V4.Wir):
headSite = (fields[V4.Pir.HEAD_NUM], fields[V4.Pir.SITE_NUM])
headSite = (fields[V4.Wir.HEAD_NUM], None) # fields[V4.Wir.SITE_NUM] Does not exist
self.onWir(headSite)

def after_send(self, dataSource, data):
Expand Down

0 comments on commit 120e548

Please # to comment.