Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x.adj is NaN #70

Open
fgvieira opened this issue Oct 8, 2024 · 1 comment
Open

x.adj is NaN #70

fgvieira opened this issue Oct 8, 2024 · 1 comment

Comments

@fgvieira
Copy link

fgvieira commented Oct 8, 2024

When generating a json file for the model LRstar and modelR are empty lists, and x.adj field is set as NaN (when all should be float):

        "log.sample": 0.7,
        "kernel": "alignment",
        "version": "3.5.5",
        "kappa": 0,
        "C": 0,
        "consistent": false,
        "star": 95,
        "has.model": false,
        "warning": [

        ],
        "LRstar": [

        ],
        "modelR": [

        ],
        "diversity": 0,
        "x.obs": [
            0,
            1
        ],
        "x.adj": [
            "NaN",
            "NaN"
        ],
        "y.red": [
            0,
            0
        ],
        "y.cov": [
            0,
            0
        ],
        "y.sd": [
            0,
            0
        ],
        "y.p25": [
            0,
            0
        ],
        "y.p50": [
            0,
            0
        ],
        "y.p75": [
            0,
            0
        ]

Would it be possible to fix it (just like e.g. y.cov or y.red)?
thanks

@fgvieira
Copy link
Author

Just adding an example file:
HD827sonic_1_lib1_collapsed.npo.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant