Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for tx fetching (#305) #306

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading