Skip to content

flopy does not handle UNC file paths #1237

@tim-mitchell

Description

@tim-mitchell

MFFileMgmt.string_to_file_path strips the leading backslash of unc file paths.

from flopy.mf6.mfbase import MFFileMgmt
wrong_path = MFFileMgmt.string_to_file_path(r'\\server\path\to\simultation')
print(wrong_path)
-> \server\path\to\simultation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions