We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f3756f commit b5bf4edCopy full SHA for b5bf4ed
qiita_db/user.py
@@ -371,8 +371,8 @@ def shared_studies(self):
371
@property
372
def private_analyses(self):
373
"""Returns a list of private analysis ids owned by the user"""
374
- sql = ("Select analysis_id from qiita.analysis WHERE email = %s AND "
375
- "analysis_status_id <> 6")
+ sql = ("Select analysis_id from qiita.analysis "
+ "WHERE email = %s AND dflt = false")
376
conn_handler = SQLConnectionHandler()
377
analysis_ids = conn_handler.execute_fetchall(sql, (self._id, ))
378
return {a[0] for a in analysis_ids}
0 commit comments