Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Mar 31, 2019
1 parent 03c58b9 commit 5c95683
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 4 deletions.
128 changes: 128 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

# IntelliJ
out/

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

dist/examples/*
dist/src/*
dist/test/*

.idea/*.*
4 changes: 2 additions & 2 deletions examples/heatmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
<div id="heatmap"></div>
<button id="cluster">Cluster!</button>

<script>
<script type="module">

d3.csv('data/dendrogram.csv')
.then(function(data) {

Expand Down Expand Up @@ -46,7 +47,6 @@
let rowValues = [];

for (let col of cols) {
// @ts-ignore
let val = parseFloat(row[col.name]);
rowValues.push({
value: val
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unipept-heatmap",
"version": "1.0.10",
"version": "1.0.11",
"description": "HeatMap built for the Unipept project. See http://unipept.ugent.be for more information. This HeatMap supports UPGMA-clustering and MOLO-reordering.",
"main": "dist/bundle.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/heatmap/heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {HeatmapData, HeatmapElement, HeatmapValue} from "./input";
import Reorderer from "../reorder/reorderer";
import MoloReorderer from "../reorder/moloReorderer";

export class Heatmap {
class Heatmap {
private element: HTMLElement;
private settings: HeatmapSettings;

Expand Down

0 comments on commit 5c95683

Please sign in to comment.