Skip to content
Prev Previous commit
Next Next commit
Address CI
  • Loading branch information
wasade authored Oct 6, 2021
commit e0ab7f9cbeccdf2fd72913d21fe7ffcb598a6421
3 changes: 1 addition & 2 deletions qiita_pet/handlers/rest/study_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ def patch(self, study_id):
buffer = io.StringIO()
rawdata.to_csv(buffer, sep='\t', index=True, header=True)
buffer.seek(0)

# validate on load
data = load_template_to_dataframe(rawdata)
data = load_template_to_dataframe(buffer)

if len(data.index) == 0:
self.fail('No samples provided', 400)
Expand Down