Skip to content

Improve docstring on load_raw_data_cmd #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions qiita_db/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,18 @@ def load_raw_data_cmd(filepaths, filepath_types, filetype, study_ids):
Parameters
----------
filepaths : iterable of str
Paths to the raw data files
filepath_types : iterable of str
Describes the contents of the files.
filetype : str
The type of file being loaded
study_ids : iterable of int
The IDs of the studies with which to associate this raw data

Returns
-------
qiita_db.RawData
The newly created `qiita_db.RawData` object
"""
if len(filepaths) != len(filepath_types):
raise ValueError("Please pass exactly one filepath_type for each "
Expand Down