Skip to content

Commit 856eadc

Browse files
Fix the number of opposition (#217)
1 parent 5e99ecf commit 856eadc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

fink_utils/sso/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def get_num_opposition(elong, width=4):
109109
... pdf['Elong.'].values,
110110
... width=4
111111
... )
112-
>>> assert noppositions == 3, "Found {} oppositions for 8467 instead of 3!".format(noppositions)
112+
>>> assert noppositions == 4, "Found {} oppositions for 8467 instead of 4!".format(noppositions)
113113
"""
114114
peaks, _ = signal.find_peaks(elong, width=4)
115115
return len(peaks)

fink_utils/xmatch/vsx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
1617
def return_list_of_nonstellar() -> list:
1718
"""Non-stellar variable objects (AGN, quasars, supernovae, etc.)
1819

0 commit comments

Comments
 (0)