We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0384fd0 commit ca42c8cCopy full SHA for ca42c8c
1 file changed
intermine/lists/listmanager.py
@@ -265,6 +265,11 @@ def create_list(
265
266
if name is None:
267
name = self.get_unused_list_name()
268
+ if len(content) <= 0:
269
+ print("Lists must have one or more elements - the current list has 0")
270
+ print(
271
+ "Please create a valid list with at least one element and create the list again")
272
+ return
273
274
item_content = content
275
0 commit comments