File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,10 @@ def main():
113113
114114        if  arguments ['--list' ]:
115115            for  db_entry  in  _BUILTIN_DBS :
116-                 print ("{}   {}" .format (db_entry .name .ljust (8 ),
117-                                        db_entry .description ))
116+                 # TODO: Print descriptions when they are added to catalogue. 
117+                 # print("{}   {}".format(db_entry.name.ljust(8), 
118+                 #                        db_entry.description)) 
119+                 print (db_entry .name )
118120            sys .exit (0 )
119121
120122        db_name  =  None 
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def list_builtin_dbs():
6868            builtin databases. 
6969        """ 
7070
71-         return  list (CATALOGUE .get_component ('MorphologyDB' ).datasets )
71+         return  list (CATALOGUE .get_component ('MorphologyDB' ).datasets . values () )
7272
7373    @staticmethod  
7474    def  builtin_db (db_name = None , flags = 'a' ):
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments