Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

EDA - histogram app constraints allow an integer ordinal but back end only allows continuous

Đang mở
#254 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
r

Hướng nghiên cứu

Start with the histogram xAxisVariable constraints shown in the issue and the backend validation reported by validateHistogramPD. Compare the accepted variable shapes with the Rserve error for an integer ordinal Study year, then verify that the constraint and backend agree and that the histogram rejects or handles the variable consistently.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

production site and dev
GEMS 1
visualisation
histogram
x = Study year

image

Rserve log

2024-03-22 11:37:35.852115 Value is set to `count`. Resulting histogram object will represent counts of unique x-axis bins per group.
Error in validateHistogramPD(.histo, verbose) : 
  The independent axis must be continuous for a histogram.

Variable metadata. (type=integer, shape=ordinal)

image

apps constraints for pass->histogram

{
	"0": {
		"name": "histogram",
		"displayName": "Histogram",
		"description": "Visualize the distribution of a continuous variable",
		"projects": [
			"ClinEpiDB",
			"MicrobiomeDB"
		],
		"maxPanels": 1,
		"dataElementConstraints": [
			{
				"xAxisVariable": {
					"isRequired": true,
					"minNumVars": 1,
					"maxNumVars": 1,
					"allowedTypes": [
						"number",
						"date",
						"integer"
					],
					"description": "Variable must be a number or date."
				},
				"facetVariable": {
					"isRequired": false,
					"minNumVars": 1,
					"maxNumVars": 2,
					"maxNumValues": 10,
					"description": "Variable(s) must have 10 or fewer unique values and be of the same or a parent entity as the Overlay variable."
				},
				"overlayVariable": {
					"isRequired": false,
					"minNumVars": 1,
					"maxNumVars": 1,
					"maxNumValues": 8,
					"description": "Variable must have 8 or fewer unique values and be of the same or a parent entity as the X-axis variable."
				}
			}
		],
		"dataElementDependencyOrder": [
			[
				"xAxisVariable"
			],
			[
				"overlayVariable",
				"facetVariable"
			]
		]
	}
}

Seems that it should also be allowedShapes: [ 'continuous' ], ?

Ngôn ngữ chính
R
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VEuPathDB/plot.data

Tất cả issue của VEuPathDB/plot.data

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.