From 02524c67da25a6d433048886fd602454d306e48c Mon Sep 17 00:00:00 2001 From: Amy He Date: Fri, 6 Dec 2024 16:41:53 -0800 Subject: [PATCH] use plain \n as eol --- meeko/cli/mk_export.py | 2 +- meeko/cli/mk_prepare_ligand.py | 2 +- meeko/cli/mk_prepare_receptor.py | 2 +- meeko/gridbox.py | 2 +- meeko/molsetup.py | 2 +- meeko/polymer.py | 2 +- meeko/preparation.py | 2 +- meeko/receptor_pdbqt.py | 2 +- meeko/writer.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/meeko/cli/mk_export.py b/meeko/cli/mk_export.py index 97ff34e..3aec691 100755 --- a/meeko/cli/mk_export.py +++ b/meeko/cli/mk_export.py @@ -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 diff --git a/meeko/cli/mk_prepare_ligand.py b/meeko/cli/mk_prepare_ligand.py index 8c115b5..b506b7b 100755 --- a/meeko/cli/mk_prepare_ligand.py +++ b/meeko/cli/mk_prepare_ligand.py @@ -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 diff --git a/meeko/cli/mk_prepare_receptor.py b/meeko/cli/mk_prepare_receptor.py index 5aa9910..826cf67 100755 --- a/meeko/cli/mk_prepare_receptor.py +++ b/meeko/cli/mk_prepare_receptor.py @@ -3,7 +3,7 @@ import argparse import json import math -from os import linesep as eol +eol="\n" import pathlib import sys diff --git a/meeko/gridbox.py b/meeko/gridbox.py index 1fa7896..dc27db9 100644 --- a/meeko/gridbox.py +++ b/meeko/gridbox.py @@ -1,4 +1,4 @@ -from os import linesep as eol +eol="\n" import pathlib import numpy as np diff --git a/meeko/molsetup.py b/meeko/molsetup.py index 598aac8..114681e 100644 --- a/meeko/molsetup.py +++ b/meeko/molsetup.py @@ -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 diff --git a/meeko/polymer.py b/meeko/polymer.py index 575fd49..2864bb3 100644 --- a/meeko/polymer.py +++ b/meeko/polymer.py @@ -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 diff --git a/meeko/preparation.py b/meeko/preparation.py index 511f354..6d499b7 100644 --- a/meeko/preparation.py +++ b/meeko/preparation.py @@ -6,7 +6,7 @@ from inspect import signature import json -from os import linesep as eol +eol="\n" import pathlib import warnings diff --git a/meeko/receptor_pdbqt.py b/meeko/receptor_pdbqt.py index 1dca835..77ecceb 100644 --- a/meeko/receptor_pdbqt.py +++ b/meeko/receptor_pdbqt.py @@ -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 diff --git a/meeko/writer.py b/meeko/writer.py index f44e6d7..9b668ed 100644 --- a/meeko/writer.py +++ b/meeko/writer.py @@ -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