FahrJo / datanorm-python

A Collection of parser classes to handle DATANORM files
MIT License
2 stars 0 forks source link

Filename Validation can't handle path with directories #1

Closed MarkusPorti closed 1 week ago

MarkusPorti commented 2 weeks ago

Problem When creating a DatanormBaseFile with a path containing some directories in which the DATANORM.001 file is stored, the method file_name_is_valid() returns False, but should return True.

Code to reproduce:

import datanorm as dn

base = dn.DatanormBaseFile('./data/Datanorm/DATANORM.001')
base.file_name_is_valid()
FahrJo commented 1 week ago

You are right. Should be solved with 095877e / Release 0.0.2-alpha. Thank you for reporting 👍