New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iris-validation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iris-validation

Iris is a visualisation aid for protein structure validation

latest
npmnpm
Version
0.1.10
Version published
Weekly downloads
38
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Iris-Validation

npm version

This repository contains the code for the published npm installable iris-validation package.

Installation

To install the published iris-validation

npm install iris-validation@latest

Usage

An example of using the component with the provided random test data is shown here:

import {Iris, IrisData, IrisAesthetics, IrisProps, generate_random_data} from "iris-validation"
import { ExampleProps } from '../interface/interface';

export function Example(props: ExampleProps) {

    const random_data = generate_random_data(5) // get 5 metric rings

    const aes: IrisAesthetics = {
        dimensions: [1000,1000],
        radius_change: 50, 
        header: 40,
        text_size: 12
    }

    const results: IrisData = {
        data: random_data,
        chain_list: ["A", "B", "C"],
        file_list: ["input1"], 
    } // results for use with generate_random_data

    const iris_props: IrisProps = { 
        results: results,
        from_wasm: false,
        aesthetics: aes, 
        callback: (residue) => { 
            console.log("RESIDUE CLICKED", residue)
        }
    }

    return (
            <Iris {...iris_props}></Iris>                        
    );
}

Development

To install this repository

  git clone https://github.com/Dialpuri/iris-validation.git
  cd iris-validation
  npm ci
  npm run build

Before any commits to this repository the following code must run and pass

  npm run prettier
  npm run lint

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts