BioPhi is an open-source antibody design platform. It features methods for automated antibody humanization (Sapiens), humanness evaluation (OASis) and an interface for computer-assisted antibody sequence design.
Traceback (most recent call last):
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 2548, in __call__
return self.wsgi_app(environ, start_response)
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.handle_exception(e)
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/data/christianxu/miniconda3/envs/biophi-dev/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/data/christianxu/AntiBody/algorithm/BioPhi/biophi/humanization/web/views.py", line 217, in humanize_detail_export_humanized_fasta
return send_fasta(
File "/data/christianxu/AntiBody/algorithm/BioPhi/biophi/common/utils/io.py", line 386, in send_fasta
return send_text(stringio.getvalue(), name=name, extension='fa', timestamp=timestamp)
File "/data/christianxu/AntiBody/algorithm/BioPhi/biophi/common/utils/io.py", line 374, in send_text
return send_file(
TypeError: send_file() got an unexpected keyword argument 'attachment_filename'
Old names for some send_file parameters have been removed. download_name replaces attachment_filename, max_age replaces cache_timeout, and etag replaces add_etags. Additionally, path replaces filename in send_from_directory.
https://github.com/Merck/BioPhi/blob/58e6e6f113ada23cd964ed02d013f5684304f838/biophi/common/utils/io.py#L374
The detailed is as follows
Refer to the flask issue 4753,