mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-24 16:24:32 +00:00
First attempt at converting "sig" to "activity" for v3
This commit is contained in:
@@ -27,7 +27,12 @@ class DCE(FileDownloadActivityRefDataProvider):
|
||||
for index, row in df.iterrows():
|
||||
if row.iloc[0] and row.iloc[2]:
|
||||
new_data.append(
|
||||
ActivityRef(sig=self.ACTIVITY, id=row.iloc[0].strip(), name=row.iloc[2].strip(), ref_type=ActivityRefType.CASTLE)
|
||||
ActivityRef(
|
||||
activity=self.ACTIVITY,
|
||||
id=row.iloc[0].strip(),
|
||||
name=row.iloc[2].strip(),
|
||||
ref_type=ActivityRefType.CASTLE,
|
||||
)
|
||||
)
|
||||
|
||||
# Bail out if a stop has been requested, i.e. the program is shutting down - no need to parse the rest of
|
||||
|
||||
Reference in New Issue
Block a user