LLNL/py-hostlist

nth() needs to be able to read in simple list

cmoussa1 opened this issue · 1 comments

right now, nth() can only read in hostlists with the following format: node[1-4]. it also needs to be able to read in the following format: node1,node2,node3,node4.

This issue has been fixed and confirmed with unit tests. nth() can now read in all of the following inputs:

'node[1-4]'
'node1,node2,node3,node4'
['node1','node2','node3','node4']