Skip to content

Commit

Permalink
change anme to dcmfile_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitYadav-codes committed Oct 29, 2023
1 parent 13fdde5 commit c3b9701
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Parser for DCM files [Data Conversion Format](https://www.etas.com/download-cent

1. **Parsing the DCM file**:
```python
dcm_parser = DCMParser("path/to/dcm/file")
dcmfile_parser = DCMParser("path/to/dcm/file")
```

2. **Creating a DCM object**:
```python
dcm_obj = dcm_parser.create_dcm_object()
dcm_obj = dcmfile_parser.create_dcm_object()
```

## DCMObject
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/test_dcm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@


import pytest
from dcm_parser import DCMParser, DCMObject
from dcmfile_parser import DCMParser, DCMObject


# Assuming the parse_dcm function is available and can parse a DCM file to produce instances of the provided attribute classes.

@pytest.fixture
def sample_dcm_file(tmp_path):
dcm_parser = DCMParser('tests/sample1.dcm')
dcm_obj = dcm_parser.create_dcm_object()
dcmfile_parser = DCMParser('tests/sample1.dcm')
dcm_obj = dcmfile_parser.create_dcm_object()
return dcm_obj

@pytest.mark.parametrize("export_file", ["test.dcm"])
Expand Down

0 comments on commit c3b9701

Please sign in to comment.