getEnfFiles#

pyCGM2.Nexus.eclipse.getEnfFiles(path: str, type: EclipseType)#

Retrieves .enf files from a specified folder based on the enf type.

Parameters:
  • path (str) – The folder path.

  • type (enums.EclipseType) – The type of .enf file (Session, Patient, or Trial).

Returns:

List[str] or str – List of .enf filenames or a single filename, depending on the type.