Skip to content

Commit

Permalink
Fix PEP8 where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobie committed Jan 9, 2025
1 parent febd272 commit 723ebea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vasttools/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,9 @@ def get_source(

s = the_sources.loc[id]

num_measurements = len(measurements) #s['n_measurements']
# This used to just check s['n_measurements'] which sometimes broke
# things. Instead, check the actual length of the measurments df.
num_measurements = len(measurements)

source_coord = SkyCoord(
s['wavg_ra'],
Expand Down

0 comments on commit 723ebea

Please sign in to comment.