Skip to content
Snippets Groups Projects
Commit 8622f59d authored by Carol7102's avatar Carol7102
Browse files

fix demo mapper

parent 5854cc9d
No related branches found
No related tags found
No related merge requests found
...@@ -13,12 +13,10 @@ def main(X): ...@@ -13,12 +13,10 @@ def main(X):
fields = parse_line(line) fields = parse_line(line)
interconne_type = fields[10] interconne_type = fields[10]
if interconne_type != X: if interconne_type != X:
print('')
continue continue
detection_value = fields[9] detection_value = fields[9]
if detection_value == '': if detection_value == '':
print('') detection_value = "NULL"
continue
print(f'1\t{detection_value}') print(f'1\t{detection_value}')
if __name__ == '__main__': if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment