Open benfoley opened 2 years ago
Use regex pattern matching to do this a nicer way. (and the other instance, too), this is messy and uncontrolled.
Originally posted by @nicklambourne in https://github.com/CoEDL/elpis/pull/255#r762468608
tx_name = f"{TX_NAME}{i}" while tx_name in elpis.list_transcriptions(): i = i + 1 tx_name = f"{TX_NAME}{i}"
In the HFT CLI example files.
Use regex pattern matching to do this a nicer way. (and the other instance, too), this is messy and uncontrolled.
Originally posted by @nicklambourne in https://github.com/CoEDL/elpis/pull/255#r762468608