Skip to content

Commit

Permalink
Merge pull request #237 from sot/taldcroft-patch-1
Browse files Browse the repository at this point in the history
Update setup.py
  • Loading branch information
taldcroft authored Aug 25, 2022
2 parents 4c7e0b0 + ef6d558 commit eeb99b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Ska/engarchive/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def get_time_data_from_server(h5_slice, filename):
times_ok = ~h5.root.quality[h5_slice]
times = h5.root.data[h5_slice]
h5.close()
return(times_ok, times)
return (times_ok, times)

times_ok, times = get_time_data_from_server(h5_slice, _split_path(filename))

Expand Down Expand Up @@ -810,7 +810,7 @@ def get_msid_data_from_server(h5_slice, filename):
vals = h5.root.data[h5_slice]
bads = h5.root.quality[h5_slice]
h5.close()
return(vals, bads)
return (vals, bads)

vals, bads = get_msid_data_from_server(h5_slice, _split_path(filename))

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# Install following into sys.prefix/share/eng_archive/ via the data_files directive.
if "--user" not in sys.argv:
share_path = os.path.join(sys.prefix, "share", "eng_archive")
share_path = os.path.join("share", "eng_archive")
task_files = glob.glob('task_schedule*.cfg')
data_files = [(share_path, task_files)]
else:
Expand Down

0 comments on commit eeb99b1

Please sign in to comment.