Skip to content

Commit

Permalink
Bug fix for tx fetching (#305) (#306)
Browse files Browse the repository at this point in the history
* Bug fix for tx fetching (#305)

* Indentation change

* Moved from pypromice to separate processing pipeline

* version bump
  • Loading branch information
PennyHow authored Sep 24, 2024
1 parent bcaf79e commit 80adcd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 152 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pypromice",
version="1.4.2",
version="1.4.3",
author="GEUS Glaciology and Climate",
description="PROMICE/GC-Net data processing toolbox",
long_description=long_description,
Expand Down
147 changes: 0 additions & 147 deletions src/pypromice/tx/get_watsontx.py

This file was deleted.

8 changes: 4 additions & 4 deletions src/pypromice/tx/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,10 +894,10 @@ def sortLines(in_file, out_file, replace_unsorted=True): #
# out_f.write(headers)
out_f.writelines(unique_lines)

# Replace input file with new sorted file
if replace_unsorted:
os.remove(in_file)
os.rename(out_file, in_file)
# Replace input file with new sorted file
if replace_unsorted:
os.remove(in_file)
os.rename(out_file, in_file)

def addTail(in_file, out_dir, aws_name, header_names='', lines_limit=100):
'''Generate tails file from L0tx file
Expand Down

0 comments on commit 80adcd8

Please sign in to comment.