Skip to content

Commit

Permalink
MIN Avoid deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Jun 27, 2024
1 parent 76b2c60 commit 5b120cd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions example_seqs/pep8.faa
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
>Query0
KKVKSIFKKALAMMGENEVKAWGIGIK
>Query1
FFGIGQQEMTLEEIGDKFGLTRERVRQIKEKAIRRLRQSNRSKLLKSYLG
>Query2
KRVKSFFKGYMRAIEINAALMYGYRPK
>Query3
GRVIGKQGRIAKAIRVVMRAAAVRVDEKVLVEID
>Query4
KLRKILKSMFNNYCKTFKDVPPGNMFR
>Query5
AIFYVIKHISRKHFVSLQRYKIKEKM
>Query6
LVRIISMVIAGVIIVYLVRWIDNFFSRYRK
>Query7
HELOQFLTHIIFLLNLLKTLINHFS
2 changes: 1 addition & 1 deletion macrel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def do_ampsphere_query(args):
if sys.stdout.isatty():
print('Note that to avoid overloading the AMPSphere API, this script will pause a bit after every query')
results = pd.concat(results)
results['result'].fillna('No_Hit', inplace=True)
results.fillna({'result': 'No_Hit'}, inplace=True)
ofile = (args.output_file if args.output_file != '-' else '/dev/stdout')
if ofile is None:
ofile = path.join(args.output,
Expand Down

0 comments on commit 5b120cd

Please sign in to comment.