Skip to content

Commit

Permalink
Merge pull request #266 from rwxayheee/cross_platform_newline
Browse files Browse the repository at this point in the history
Format string in output file with plain line-ending character instead of os.linesep
  • Loading branch information
rwxayheee authored Dec 7, 2024
2 parents 71c1fbd + 02524c6 commit 06f61eb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion meeko/cli/mk_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import gzip
import pathlib
import sys
from os import linesep as eol
eol="\n"
import warnings
import copy
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion meeko/cli/mk_prepare_ligand.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from datetime import datetime
import io
import os
from os import linesep as eol
eol="\n"
import sys
import json
import tarfile
Expand Down
2 changes: 1 addition & 1 deletion meeko/cli/mk_prepare_receptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import argparse
import json
import math
from os import linesep as eol
eol="\n"
import pathlib
import sys

Expand Down
2 changes: 1 addition & 1 deletion meeko/gridbox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from os import linesep as eol
eol="\n"
import pathlib
import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion meeko/molsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from collections import defaultdict
from dataclasses import asdict, dataclass, field
import json
from os import linesep as eol
eol="\n"
import sys
import warnings
from typing import Union
Expand Down
2 changes: 1 addition & 1 deletion meeko/polymer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
import traceback
from importlib.resources import files
from os import linesep as eol
eol="\n"
from sys import exc_info
from typing import Union
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion meeko/preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from inspect import signature
import json
from os import linesep as eol
eol="\n"
import pathlib
import warnings

Expand Down
2 changes: 1 addition & 1 deletion meeko/receptor_pdbqt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from collections import defaultdict
import json
from os import linesep as eol
eol="\n"

import numpy as np
from scipy import spatial
Expand Down
2 changes: 1 addition & 1 deletion meeko/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
import json
import math
from os import linesep as eol
eol="\n"

import numpy as np
from rdkit import Chem
Expand Down

0 comments on commit 06f61eb

Please sign in to comment.